<?php
class indexController extends adminController{

	public function index(){
		$this->display();
	}

	public function home(){
        
		$this->show();
	}

	//环境信息
    public function sysinfo(){
        $this->show();
    }

    //清除BOM
    public function sysbom(){
    	@model('default')->tool_bom_clear(BASE_PATH.'config.php');
    	@model('default')->tool_bom_dir(ROOT_PATH.'themes');
        $this->msg('所有BOM清除完毕！');
    }

}